RE: [xml-dev] If XML is too hard for a programmer, perhaps he'd be bette

[ Lists Home | Date Index | Thread Index ]


Simon,

so at xmlhack, you're putting markup into text fields in an MS Access
database, and then export the data as XML, even though Access doesn't
know that certain fields are markup? and then you piece it together into
XHTML? sounds like fun. sounds like regexp!
sed 's/<[CDATA[\(.*<.*>.*\)]]>/\1/g' < access-export.xml \
| sed 's/\(&[[:alpha:]];\)/<[CDATA[\1]]>/g' > extra-clean.xml

or try a database that knows about XML.

regards,

/m

Martin Klang
http://www.o-xml.org - the object-oriented XML programming language





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS