[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Search text and write the code


Subject: [xsl] Search text and write the code
From: "Byomokesh Sahoo" <sahoo.byomokesh@xxxxxxxxx>
Date: Thu, 6 Sep 2007 11:14:40 +0530

Hi,

This is key mistake.

i need output is

<item><label><b>1.1</b></label> <para><b>Grundbegriffe</b><xref
pointer="p0002">2</xref></para></item>

Is it possible or not?

Thanks
Byomokesh


>Date: Wed, 05 Sep 2007 11:47:36 -0400
>To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>From: cknell@xxxxxxxxxx
>Subject: RE: [xsl] Search text and write the code
>Message-ID: <B0006091396@xxxxxxxxxxxxxxxxxxxxx>

>The output you are asking for is not legal XML (see below), so I am
not clear on what to advise.

>XML requires that all elements be properly nested. The output you
have specified:

><item>
> <b>
>   <label>1.1</label>
>     <para>Grundbegriffe
> </b>
> <xref pointer="p0002">2</xref>
>     </para>
></item>
>
>has the <b> element overlapping the <para> element.
>
>In XML, you can't have "<b><para></b></para>", and that's what you've
specified as your desired output.

--
Charles Knell
cknell@xxxxxxxxxx - email


Current Thread
Keywords
xml