Re: xml text to record
Re: xml text to record
- Subject: Re: xml text to record
- From: Luther Fuller <email@hidden>
- Date: Wed, 23 Nov 2011 11:21:43 -0600
On Nov 23, 2011, at 9:31 AM, Axel Luttgens wrote:
> The output of "drutil list -xml" doesn't provide a name for the DOCTYPE:
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <!DOCTYPE [
> <!ELEMENT deviceList (device)*>
> [...]
>
> and System Events seems to catch the fact that the xml text is malformed.
>
> It should be possible to circumvent that drutil bug by adding a name before feeding "make new XML data...":
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <!DOCTYPE listdoc [
> <!ELEMENT deviceList (device)*>
> [...]
Right! That does work. It's a bug in 'drutil'.
I think there is another drutil command that I can use to avoid 'list', but if I really need it, I will do this.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden