Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Lineseparator in XML file to split long XSL to parts

From: "xnluser" <xnluser@-----.-->
To: NULL
Date: 2/2/2006 10:00:00 PM
Are u a NetPolice?

The question is:
How to put long XSL-clauses to XML file into DIFFRENT rows?

In C you can write something like

#define something = "döaslkdasö"                               "djalkjddlasdj"                               "asdölasköla"                               "ädadassdlö"

NOT writing a long clause like:
#define something = "döaslkdasö djalkjddlasdj asdölasköla lasödla ölaskdölas 
ölaskdöal"

So, how to do that it XML file containing LONG XSL-clauses?
Of couse the same question is valid if your XML contains other than XSL 
clauses.
Breaking a line into smaller parts is the key of the question.

So, anyone know how to break long lines into smaler one in XML file so
a Reader component in software can handle it as a whole row?




"Neil Smith [MVP Digital Media]" <neil@n...> wrote in message 
news:drf4u1hqkrsp3lrnbd9n6hdfjaqijbupvu@4......
> On 2 Feb 2006 06:37:10 -0800, "xnluser" <xnluser@y...> wrote:
>
>>I would like to but XSL clauses to XML file and retrieve XSL clauses
>>with keys.
>>How can I separate XSL clause into different XSL rows? I mean something
>>like below.
>
> (1) That is not XML (below) or XSL.
> (2) Your question is incomprehensible.
>
> Please reformat it and send us a better version of the question <g>
>
> You might want to post your XML and XSL at the same time - a minimal
> test case is fine - as long as it *is* XML.
>
> Cheers - Neil
>
>>This in XML
>>
>>  <add key="Key1"   value="<xsl:value-of select="/VARIABLE/>"
>>                           <xsl:choose>
>>                           <xsl:when test="ORDER_NUMBER == ''>
>>
>>                           <value>Y</value>
>>                           </xsl:when>
>>                           <xsl:otherwise>
>>                           <value>N</value>
>>                           </xsl:otherwise>    <!-- what to put here???
>>-->
>>                           </xsl:choose> "/>
>>
>>Cheers 




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent