|
Subject: RE: Creating new element from nothing (in The DSSSList Digest V3 #155) From: MARK.WROTH@xxxxxxxxxxx (Wroth, Mark) Date: Thu, 26 Aug 1999 07:13:47 -0700 |
David Maltby <david.g.maltby@xxxxxxxx> asked:
>The theory has been running too deep as late, time to get back to the
>nitty-gritty. I need to perform the following -tsgml transform which
>introduces a new element 'x', a child of 'a' but a sibling to 'b'.
>
>Source:
><A>
> <B>
> </B>
></A>
>
>Result:
><a>
> <x>
> </x>
> <b>
> </b>
></a>
and suggested a formatting instruction as a solution.
My inclination would be to simply use a make sequence, as in
(element A
(make element gi: "a"
(make sequence
(make element gi: "x")
(process-children)
)
)
)
(element B
(make element gi: "b")
)
Am I missing something?
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: XML root level, Kai Großjohann | Thread | jadetexpdf and tables, Wolfgang Auer |
| RE: How to place text anywhere on t, Didier PH Martin | Date | jadetexpdf and tables, Wolfgang Auer |
| Month |