• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xml text to record
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >xml text to record (From: Luther Fuller <email@hidden>)
 >Re: xml text to record (From: Luther Fuller <email@hidden>)
 >Re: xml text to record (From: Luther Fuller <email@hidden>)
 >Re: xml text to record (From: Axel Luttgens <email@hidden>)
 >Re: xml text to record (From: Axel Luttgens <email@hidden>)
 >Re: xml text to record (From: Luther Fuller <email@hidden>)
 >Re: xml text to record (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: xml text to record
  • Next by Date: GURU question
  • Previous by thread: Re: xml text to record
  • Next by thread: Finder "Hide Others"
  • Index(es):
    • Date
    • Thread