Subject: RE: Multi-Line Elements
From: Alex Shevchuk <AlexS@xxxxxxxxxxxxx>
Date: Mon, 23 Aug 1999 10:10:37 -0700
|
Would it be better to split the billing_address on something like:
<!ELEMENT billing_address (address1, address2?, city, state, zip, attn?)>
Alex Shevchuk
> -----Original Message-----
> From: Mitch Christensen [mailto:mitch_christensen@xxxxxxxxx]
> Sent: Monday, August 23, 1999 9:08 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Multi-Line Elements
>
>
> Hi,
>
> I have the following element,
>
> <billing_address>123 Any Pl.
> Suite 5
> Thisplace, AB
> 12345
> Attn: John</billing_address>
>
> that needs to parsed into individual lines during output.
>
> I could do the following in the DTD,
>
> <!ELEMENT billing_address (textline, textline, textline,
> textline?, textline?)>
> <!ELEMENT textline (#PCDATA)>
>
> But is there a way within XSL to access sub-lines so I could
> continue to use the
> former format?
>
> Thanks,
> Mitch Christensen
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|