[Home] [By Thread] [By Date] [Recent Entries]

  • From: Rick Marshall <rjm@z...>
  • To: David Megginson <david.megginson@g...>
  • Date: Sat, 13 Jan 2007 10:43:26 +1100

ah yes, i was forgetting that other high tech tool ;)

David Megginson wrote:
> On 12/01/07, Rick Marshall <rjm@z...> wrote:
>
>> PS and technically I'd like to see the root element dispensed with so
>> that I can eg store XML fragments as valid XML in lots of files and
>> easily combine them into usable xml (using a high tech tool like cat..)
>
> Since that may never happen with XML, you might want to hedge your
> bets by learning the advanced echo (1) technology as well:
>
> $ echo '<foo>' > mydocument.xml
> $ cat fragments/*.xml >> mydocument.xml
> $ echo '</foo>' >> mydocument.xml
>
> (That's assuming that none of your XML files has an XML declaration.)
>
>
> All the best,
>
>
> David
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l...
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member