[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Search text and write the code

Subject: Search text and write the code
From: "Byomokesh Sahoo" <sahoo.byomokesh@xxxxxxxxx>
Date: Thu, 6 Sep 2007 11:14:40 +0530
 Search text and write the code
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.